﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>账户管理</title>
    <link href="/css/common.css" rel="stylesheet" type="text/css" /> 
    <link href="/css/account.css" rel="stylesheet" type="text/css" />
	<script src="/js/jquery.js" language="javascript" type="text/javascript"></script>
    <script src="/js/common.js" language="javascript" type="text/javascript"></script>

    <link href="/JS/MsgBox/moonbox.css" rel="stylesheet" type="text/css" />
    <script src="/JS/MsgBox/moonbox.js" type="text/javascript"></script>
    <script src="/JS/jyAjax.js" type="text/javascript"></script>
    
    <script language="javascript" type="text/javascript">
    	$(function(){
			$("form").hide();
			$("a.edit").click(function(){
				if($("#"+$(this).attr("tag")).css("display")=="none"){
					$("#"+$(this).attr("tag")).show();
				}
				else{
					$("#"+$(this).attr("tag")).hide();
				}
			})
		})
    </script>
</head>
<body>
	$Header$
    <div id="body">
    	<div class="left">
        	$LeftUserCmd$ $LeftUserFriendAdd$
        </div>
        <div class="right">
            <ul class="account">
                <h1>
                    <a href="javascript:;" onclick="history.go(-1)">返回上一页</a><p>
                        <b>隐私设置：</b></p>
                </h1>
                <li>
                    <div class="accdiv">
                        <h2>                           
                            <a href="/PersonalInfo/AccountManage.aspx" class="sel"><span>账户管理</span></a>
                            <a href="/PersonalInfo/AlterCityIn.aspx"><span>所在地设置</span></a>
                            <!--<a href="#"><span>邮件通知</span></a>-->
                            <a href="/PersonalInfo/BasicInfo.aspx" class="last"><span>基本设置</span></a>
                        </h2>
                    	<ul class="userinfo">
                        	<li>
                            	你可以通过<A href="/PersonalInfo/PrivacySet.aspx">隐私设置</A>控制谁可以看见以下内容。
                            </li>                            
                        </ul>
                        <ul class="userinfo">
                        	<h3>姓名</h3>
                            	<li><a class="edit" tag="editName">修改</a></li>
                                <li>请尽量使用真实姓名，方便你的老朋友找到你。</li>
                        	    <form action="javascript:myAjax('/PersonalInfo/AlterUserName.ashx','SetName='+$('#NewName').val())" method="post" id="editName">
                                <li>
                                    <b>姓名：</b>
                                    <input id="NewName" type="text" class="text" />
                                </li>
                                <li>
                                    <b></b>
                                    <input class="input_btn" value="保存设置" type="submit" /> 
                                </li>
                                </form>
                        </ul>
                        <ul class="userinfo">
                        	<h3>Email</h3>
                            <li><a class="edit" tag="editEmail">修改</a></li>
                            
                            <li>设置你最常用的 Email 地址，用于登录、找回密码等。</li>
                            <form action="javascript:myAjax('/PersonalInfo/AlterEmail.ashx','SetEmail='+$('#newEmail').val())" method="post" id="editEmail">
                            <li><b>旧邮箱：</b>
                                <!--<input value="$OldEmail$" type="text" name="email" id="oldEmail" />--><label for="oldEmail">$OldEmail$</label>
                            </li>
                            <li><b>新邮箱：</b>
                                <input type="text"name="email" id="newEmail" /><!--<label for="newEmail"><input type="text" />--></label>
                            </li>
                            <li><b></b>
                                <input class="input_btn" value="保存设置" type="submit" />
                            </li>
                            </form>
                        </ul>
                        <ul class="userinfo">
                        	<h3>密码</h3>
                            <li><a class="edit" tag="editPassword">修改</a></li>
                            <li>建议使用尽量复杂的密码，最少 6 个字符。</li>
                            <form action="javascript:myAjax('/PersonalInfo/AlterPassword.ashx','txtOldPsw='+$('#txtOldPsw').val()+'&txtPsw='+$('#txtPsw').val()+'&txtPsw2='+$('#txtPsw2').val())" method="post" id="editPassword">
                            <li><b>旧密码：</b><input id="txtOldPsw" type="text" />
                            </li>
                            <li><b>新密码：</b><input id="txtPsw" type="text" />
                            </li>
                            <li><b>二次密码：</b><input id="txtPsw2" type="text" />
                            </li>
                            <li><b></b>
                                <input class="input_btn" value="保存设置" type="submit" />
                            </li>
                            </form>
                        </ul>
                    </div>
                </li>
                <h6></h6>
            </ul>
        </div> 
    </div>
    <div class="Clear"></div>
    $Footer$
</body>
</html>
